package com.hirsi.module.manager.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@ApiModel("编辑管理员信息参数")
@Data
public class EditManagerVo {

    @ApiModelProperty("管理员id，更新时才传")
    private Integer id;

    @ApiModelProperty(value = "头像地址", position = 1)
    private String avatar;

    @ApiModelProperty(value = "用户名", required = true, position = 2)
    private String username;

    @ApiModelProperty(value = "姓名", required = true, position = 3)
    private String name;

    @ApiModelProperty(value = "昵称", required = true, position = 4)
    private String nick;

    @ApiModelProperty(value = "手机号", required = true, position = 5)
    private String phone;

    @ApiModelProperty(value = "邮箱", required = true, position = 6)
    private String email;

    @ApiModelProperty(value = "性别：0-男，1-女", required = true, position = 7)
    private Integer gender;

    @ApiModelProperty(value = "所属角色id集合", required = true, position = 8)
    private List<Integer> roleIds;

    @ApiModelProperty(value = "所属部门id集合", required = true, position = 9)
    private List<Integer> departmentIds;

    @ApiModelProperty(value = "状态：0-正常，1-禁用", required = true, position = 10)
    private Integer status;
}
